﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="nf_gerenciar_listar.aspx.cs" Inherits="softsales.pagina.nf_gerenciar.nf_gerenciar_listar" %>
<%@ MasterType VirtualPath="~/Site.Master" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Cabecalho" runat="server">

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ConteudoPrincipal" runat="server">


	<div class="inner-page-title">
				<h2><asp:Label ID="LBL_TITULO_PAGINA" runat="server" Text="Gerenciar Nota Fiscal"></asp:Label></h2>
					
				</div>
 
    
   <div class="content-box">
   <div class="softsales-form">
   <div class="softsales-form-linha">
   <div class="grid_12">
   <label>EMPRESA</label><br />
 <asp:DropDownList ID="DDL_ID_EMPRESA" runat="server" CssClass="campo-select full" ></asp:DropDownList>
   </div>
      <div class="clear"></div>
   </div>

<div class="softsales-form-linha">
 <div class="grid_3">
     <label>TIPO EMISSÃO</label><br />
  <asp:DropDownList ID="DDL_ID_TIPO_EMISSAO" runat="server" ></asp:DropDownList>
 </div>
 <div class="grid_2"><label>DT. EMISSÃO INICIAL</label><br />
     <asp:TextBox ID="TXT_DT_EMISSAO_INICIAL" runat="server" 
         CssClass="campo-text large data"></asp:TextBox>
 
 </div>
 <div class="grid_2"><label>Dt. EMISSÃO FINAL</label><br />
  <asp:TextBox ID="TXT_DT_EMISSAO_FINAL" runat="server" 
         CssClass="campo-text large data"></asp:TextBox>
 </div>
  <div class="grid_3"><label>CNPJ/CPF</label><br />
  <asp:TextBox ID="TXT_CNPJ_CPF" runat="server" CssClass="campo-text large"></asp:TextBox>
 </div>
 <div class="clear"></div>

 </div>
 <div class="softsales-form-linha">
  <div class="grid_5"><label>CHAVE</label><br />
  <asp:TextBox ID="TXT_CHAVE" runat="server" CssClass="campo-text full"></asp:TextBox>
 </div>

  <div class="grid_2"><label>SERIE</label><br />
  <asp:TextBox ID="TXT_SERIE" runat="server" CssClass="campo-text large"></asp:TextBox>
 </div>
 <div class="grid_2"><label>NUM. NF INICIAL</label><br />
  <asp:TextBox ID="TXT_NUM_NF_INICIAL" runat="server" CssClass="campo-text large"></asp:TextBox>
 </div>
 <div class="grid_2"><label>NUM. NF FINAL</label><br />
  <asp:TextBox ID="TXT_NUM_NF_FINAL" runat="server" CssClass="campo-text large"></asp:TextBox>
 </div> 
 <div class="grid_1">  
        <label>Filtrar</label><br />
        <asp:ImageButton ID="IMG_BTN_FILTRAR" runat="server" 
        ImageUrl="~/images/icons/search.gif" onclick="IMG_BTN_FILTRAR_Click" 
/>
 </div>
 <div class="clear"></div>
 </div>
 
 
 </div>
</div>
<div class="content-box">
    <div class="softsales-form">
        <div class="softsales-form-linha">
            <div class="grid_1">
                <asp:ImageButton ID="IMG_BTN_VALIDAR" 
                    ImageUrl="~/images/botoes/xhtml_valid.png" runat="server" 
                    onclick="IMG_BTN_VALIDAR_Click" /><br />
                <label>Validar</label>
               </div>
            <div class="grid_1">
                <asp:ImageButton ID="IMG_BTN_ASSINAR" 
                    ImageUrl="~/images/botoes/Document-Signature.png" runat="server" 
                    onclick="IMG_BTN_ASSINAR_Click" /><br />
                <label>Assinar</label>
                </div>
            <div class="grid_1">
                <asp:ImageButton ID="IMG_BTN_TRANSMITIR"  
                    ImageUrl="~/images/botoes/satellite_dish.png" runat="server" 
                    onclick="IMG_BTN_TRANSMITIR_Click" /><br />
                <label>Transmitir</label>
                </div>
            <div class="grid_1">
                <asp:ImageButton ID="IMG_BTN_IMPRIMIR_DANFE" 
                    ImageUrl="~/images/botoes/printer.png" runat="server" 
                    onclick="IMG_BTN_IMPRIMIR_DANFE_Click" /><br />
                <label>Imprimir Danfe</label>                
                </div>
            <div class="grid_1">
                <asp:ImageButton ID="IMG_BTN_CANCELAR_NFE" 
                    ImageUrl="~/images/botoes/File_Delete.png"  runat="server" 
                    onclick="IMG_BTN_CANCELAR_NFE_Click" /><br />
                <label>Cancelar NFe</label>                
                </div>
                <div class="grid_1">
                <asp:ImageButton ID="IMG_BTN_INUTILIZAR_NFE" 
                    ImageUrl="~/images/botoes/File_Warning.png"  runat="server" onclick="IMG_BTN_INUTILIZAR_NFE_Click" 
                     /><br />
                    Inutilizar<label> NFe</label>                
                </div>
            <div class="grid_1">
                <asp:ImageButton ID="IMG_BTN_EXPORTAR_XML" 
                    ImageUrl="~/images/botoes/Document-Export.png" runat="server" 
                    onclick="IMG_BTN_EXPORTAR_XML_Click" /><br />
                <label>Exportar XML</label>
                </div>
        
            <div class="clear"></div>
        </div>
    
    </div>
</div>

<div class="content-box">
<div class="softsales-tabela">
 <asp:GridView ID="GRV_TB_NF" runat="server" onsorting="GRV_TB_NF_Sorting" AllowSorting="True" 
        onpageindexchanging="GRV_TB_NF_PageIndexChanging" 
        AutoGenerateColumns="False" DataKeyNames="id" 
        >	  
	<HeaderStyle CssClass="headerGridView" />
	<RowStyle CssClass="itemGridView" />
   	<PagerStyle CssClass="pagerGridView"  />
	<FooterStyle CssClass="footerGridView" />
        <Columns>          
			
				<asp:TemplateField>
                    <ItemTemplate>
                        <asp:CheckBox ID="CHK_ID" runat="server" />
                    </ItemTemplate>
                </asp:TemplateField>
			
				<asp:BoundField DataField="id" HeaderText="ID" 
                SortExpression="id"  >											 													 
   				<ItemStyle Width="1%" />
                </asp:BoundField>
   				<asp:BoundField DataField="num_nota_fiscal" HeaderText="NUM_NF" 
                SortExpression="num_nota_fiscal"  >											
				<ItemStyle Width="5%" />
                </asp:BoundField>
				<asp:BoundField DataField="serie" HeaderText="SERIE" 
                SortExpression="serie"  >											
				<ItemStyle Width="2%" />
                </asp:BoundField>
				<asp:BoundField DataField="nome_cadastro" HeaderText="CLIENTE" 
                SortExpression="nome_cadastro"  />														 
				<asp:BoundField DataField="desc_status" HeaderText="STATUS" 
                SortExpression="desc_status"  />											
				<asp:BoundField DataField="dt_emissao" HeaderText="DT_EMISSAO" 
                SortExpression="dt_emissao"  />											
				<asp:BoundField DataField="dt_entrada_saida" HeaderText="DT_ENT_SAI" 
                SortExpression="dt_entrada_saida"  />														 			 								
				<asp:BoundField DataField="valor_total_nota_fiscal" HeaderText="VLR_TOT_NF" 
                SortExpression="valor_total_nota_fiscal"  />													 								 						                   
        </Columns>
    </asp:GridView>
	
	    </div>

    <div class="softsales-form-navegacao">
    <div class="float-left">
        <asp:Label ID="Label3" runat="server" Text="P?gina: "></asp:Label>
        <asp:Label ID="LBL_PAGINA_ATUAL" runat="server" Text=""></asp:Label>
        <asp:Label ID="Label4" runat="server" Text=" de  "></asp:Label>
        <asp:Label ID="LBL_PAGINA_TOTAL" runat="server" Text="LBL_PAGINA_TOTAL"></asp:Label>
    </div>
    <div class="float-right">
        <table>
        <tr>
        <td>
        <asp:ImageButton ID="IMG_BTN_PRIMEIRO" runat="server" 
            ImageUrl="~/images/icons/first.gif" onclick="IMG_BTN_PRIMEIRO_Click" />
            </td>
            <td>
        <asp:ImageButton ID="IMG_BTN_ANTERIOR" runat="server" 
            ImageUrl="~/images/icons/previous.gif" onclick="IMG_BTN_ANTERIOR_Click" />
            </td>
            <td>
        <asp:ImageButton ID="IMG_BTN_PROXIMO" runat="server" 
            ImageUrl="~/images/icons/forward.gif" onclick="IMG_BTN_PROXIMO_Click" />
            </td>
            <td>
        <asp:ImageButton ID="IMG_BTN_ULTIMO" runat="server" 
            ImageUrl="~/images/icons/last.gif" onclick="IMG_BTN_ULTIMO_Click" />
            </td>
            </tr>
            </table>
    </div>
    <div class="clear"></div>

    </div>
    
    </div>
 
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ConteudoEsquerda" runat="server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ConteudoDireita" runat="server">
</asp:Content>
